package com.yaj.myfactorysupport.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wei
 * @since 2021-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("V_TM_ITEM")
@ApiModel(value="VTmItem对象", description="")
public class VTmItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "品番")
    @TableField("ITEM_ID")
    private String itemId;

    @ApiModelProperty(value = "改正符号")
    @TableField("REV_SYM")
    private String revSym;

    @ApiModelProperty(value = "鍝佸悕")
    @TableField("ITEM_NAME")
    private String itemName;

    @ApiModelProperty(value = "カナ品名")
    @TableField("ITEM_NAME_KANA")
    private String itemNameKana;

    @ApiModelProperty(value = "英字品名")
    @TableField("ITEM_NAME_ENG")
    private String itemNameEng;

    @TableField("ITEM_CODE")
    private String itemCode;

    @ApiModelProperty(value = "形式")
    @TableField("PATTERN")
    private String pattern;

    @ApiModelProperty(value = "仕様")
    @TableField("SPECIFICATION")
    private String specification;

    @TableField("EAN_CODE")
    private String eanCode;

    @TableField("ITEM_TYPE")
    private String itemType;

    @ApiModelProperty(value = "出荷パターン")
    @TableField("SHIPPING_PATTERN")
    private String shippingPattern;

    @TableField("MAKER_NAME")
    private String makerName;

    @ApiModelProperty(value = "国内外識別フラグ")
    @TableField("SALEDEST_FLAG")
    private String saledestFlag;

    @ApiModelProperty(value = "機種ID")
    @TableField("MM_ID")
    private String mmId;

    @ApiModelProperty(value = "ソート順")
    @TableField("SORT_BY")
    private Integer sortBy;

    @ApiModelProperty(value = "PWB品番")
    @TableField("PWB_ID")
    private String pwbId;

    @TableField("PWB_SIZE")
    private Integer pwbSize;

    @ApiModelProperty(value = "基板サイズ")
    @TableField("CAVITY_NUM")
    private Integer cavityNum;

    @ApiModelProperty(value = "出庫形態")
    @TableField("OUT_LOC_FORM")
    private String outLocForm;

    @ApiModelProperty(value = "出荷形態")
    @TableField("OUT_STOCK_FORM")
    private String outStockForm;

    @ApiModelProperty(value = "有効日数")
    @TableField("VALIDATED_DAYS")
    private BigDecimal validatedDays;

    @ApiModelProperty(value = "ロットトレース対象フラグ")
    @TableField("TRACE_FLAG")
    private String traceFlag;

    @TableField("ROHS_FLAG")
    private String rohsFlag;

    @TableField("ZERO_CLAIM_FLAG")
    private String zeroClaimFlag;

    @ApiModelProperty(value = "作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "作成日時")
    @TableField("CREATE_TIMESTAMP")
    private Date createTimestamp;

    @ApiModelProperty(value = "更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新日時")
    @TableField("UPDATE_TIMESTAMP")
    private Date updateTimestamp;


}
